
import urllib.request

url = 'https://www.vmall.com/index.html'

headers = {
    'Cookie':'HWWAFSESTIME=1737587457525; HWWAFSESID=df7d873892e484657c; cps_id=128688; cps_wi=; euid=56e7dbefa706a44a3a22c8e26489d27786aa2463b0cdb7fd; CSRF-TOKEN=D4AE13D34E942376990BD7E1851EA09A8F4FDB9B0018E0B3; rnpersonalurlweb=https%3A%2F%2Fwww.vmall.com%2Fportal%2Fpersonal%2Findex.html%3FpageId%3D401001097; callAB=1; recommendflag=0; deviceid=939e7619d3577d4e69d9b60d8e0e16d1; TID=939e7619d3577d4e69d9b60d8e0e16d1; showAds=true; cartId=1140f02185864bdf9b8b70e223d76055',
    'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36'
}

request = urllib.request.Request(url=url,headers=headers)
response = urllib.request.urlopen(request)
content = response.read().decode('utf-8')

f = open('./download/huawei.html','w',encoding='utf-8')
f.write(content)
f.close()

